package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.MdmPushPageListDto;
import com.kaili.basic.pojo.entity.MdmPushEntity;
import com.kaili.basic.pojo.vo.MdmPushPageListVo;
import com.kaili.basic.pojo.vo.MdmPushVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

/**
 * @Desc: 推送管理Mapper
 * @author: jianfeng
 * @Time: 2019/7/30 20:01
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Mapper
public interface PushMapper extends BaseMapper<MdmPushEntity> {

    /**
    * @Desc:  分页查询推送管理
    * @author: jianfeng
    * @Time: 2019/7/31 10:59
    * @param page
    * @param pushPageListDto
    * @return java.util.List<com.kaili.basic.pojo.vo.MdmPushPageListVo>
    */
    List<MdmPushPageListVo> queryPageList(Page<MdmPushPageListVo> page, MdmPushPageListDto pushPageListDto);

    /**
    * @Desc:  推送管理导出
    * @author: jianfeng
    * @Time: 2019/7/31 11:16
    * @param pushPageListDto
    * @return java.util.List<com.kaili.basic.pojo.vo.MdmPushPageListVo>
    */
    List<MdmPushPageListVo> queryPageList(MdmPushPageListDto pushPageListDto);

    /**
    * @Desc:  根据id查询
    * @author: jianfeng
    * @Time: 2019/8/1 13:52
    * @param map
    * @return java.util.List<com.kaili.basic.pojo.vo.MdmPushPageListVo>
    */
    List<MdmPushVo> queryById(Map<String,Object> map);

}
